body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f5f7;
    color: #333;
}

#testdb_app { /* 注意：这里是 #testdb_app */
    background-color: #fff;
    padding: 20px;
    padding-bottom: 60px; /* 为tabbar留出空间 */
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

li {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input[type="text"],
input[type="number"],
input {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

input:focus {
    border-color: #007bff;
    outline: none;
}
